package com.bitao.friend.service.exam;

import com.bitao.TableDataInfo;
import com.bitao.friend.domain.exam.dto.ExamQueryDTO;
import com.bitao.friend.domain.exam.dto.ExamRankDTO;
import com.bitao.friend.domain.exam.vo.ExamVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-06-05  17:27
 */
public interface IExamService {

    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    TableDataInfo redisList(ExamQueryDTO examQueryDTO);

    String getFirstQuestion(Long examId);

    String preQuestion(Long examId, Long questionId);

    String nextQuestion(Long examId, Long questionId);

    TableDataInfo rankList(ExamRankDTO examRankDTO);
}
